package com.wecan.micro.autoconfig;

import com.wecan.micro.config.FeignConfig;
import com.wecan.micro.config.SentinelConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import javax.annotation.PostConstruct;

/**
 * @Author liuzhihao
 * @Date 2022.01.12
 * @Version 1.0.0
 * @Description 自动导入
 */
@Configuration(proxyBeanMethods = false)
@Import({
        SentinelConfig.class,
        FeignConfig.class
})
@Slf4j
public class MicroAutoConfig {

    @PostConstruct
    private void postConsturct() {
        log.info("[APP] |- 初始化微服务基层模块");
    }
}
